#基础镜像，以后端镜像作为基础镜像
FROM greaterwms_greaterwms:latest
RUN mkdir -p /GreaterWMS/templates
COPY . /GreaterWMS
#配置工作目录
WORKDIR /GreaterWMS
RUN cd templates
#部署前端node14
RUN cd templates
RUN curl -sL https://deb.nodesource.com/setup_14.x |bash -
RUN apt-get install -y nodejs
RUN npm install -g npm
RUN npm install -g yarn
RUN npm install -g @quasar/cli
EXPOSE 8080